<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/navbar::header(修改管理员密码)">
</head>
<body>
<div class="cd">
  <h2 class="kzmb">控制面板</h2>
  <hr style="color: #FFFFFF;margin-top: 33%">
  <h5 class="kzmb1">导航菜单</h5>
  <ul class="nav navbar-nav mr-auto mt-2 mt-lg-0">
    <li><a class="a" style="color: #fafafa" th:href="@{/admin/index}">主页</a></li>
    <li><a class="a" style="color: #fafafa" th:href="@{/admin/movie}">电影管理</a></li>
      <li><a class="a" style="color: #fafafa" th:href="@{/admin/slice}">排片管理</a></li>
    <li><a class="a" style="color: #fafafa" th:href="@{/admin/user}">用户管理</a></li>
    <li><a class="a" style="color: #fafafa" th:href="@{/admin/order}">订单管理</a></li>
    <li><a class="a" style="color: #fafafa" th:href="@{/admin/password}">密码管理</a></li>
  </ul>
  <h5 style="float: left;color: #3b5998;margin-left: 37%">admin</h5>
  <a class="btn btn-md btn-primary btn--wider" style="margin-left: 28%;float: left;margin-top: 5%" th:href="@{/ALogout}">
    退出
  </a>
</div>
<div class="container cd1">
  <p style="margin-top: 1.2%;font-size: 25px;margin-left: 5%;background-image: -webkit-linear-gradient(bottom, rgb(201, 115, 255), rgb(20, 11, 255));-webkit-background-clip: text;
            -webkit-text-fill-color: transparent;">密码管理   &raquo;&raquo;</p>
  <hr>
  <form method="post" style="width: 600px;height: 300px;margin-left: 25%;background:-moz-linear-gradient(top,#15A216,#fafafa);margin-top: 8%" th:action="@{/admin/passwords}">
   <br>
    <br>
    <p style="text-align: center;color: #fafafa">修改密码</p>
    <div class="form-group" style="width: 40%;margin-left: 30%;background-color: rgba(0, 0, 0, 0.1)">
      <input class="form-control" placeholder="用户名" style="background-color: rgba(0, 0, 0, 0.1);color: #fafafa" th:name="aName" th:type="text" th:value="${admin.AName}">
    </div>
    <div class="form-group" style="width: 40%;margin-left: 30%;margin-top: 5%;background-color: rgba(0, 0, 0, 0.1)">
      <input class="form-control" placeholder="密码" style="background-color: rgba(0, 0, 0, 0.1);color: #fafafa" th:name="aPassword" th:type="text" th:value="${admin.APassword}">
    </div>

    <button class="btn btn-info" style="margin-left: 43%;margin-top: 5%" type="submit">确定修改</button>
  </form>
</div>

</body>
</html>